package cbh.tool;

import cbh.tool.mybatis.annotation.IgnoreColumn;

import java.util.List;
import java.util.Map;
import java.util.function.Function;
import java.util.function.Predicate;

/**
 * Created by hx-pc on 16-6-14.
 */
public class MyBean {

    private Integer id;
    private String name;
    private String address;
    private String industry;
    private String domain;
    private String phone;
    private String email;
    private String wechat;
    private String qq;
    private String website;
    private Integer staffSize;
    private Integer socialSecuritySize;
    private Double totalSocialSecurity;
    private Integer juniorNum;
    private Integer collegeNum;
    private Integer graduateNum;
    private Integer doctorNum;
    private Integer returneesNum;
    private Integer professorNum;
    private Double totalAssets;
    private Double monthlyTurnover;
    private Double totalTax;
    private Double totalProfits;
    private Double debt;
    private Double averageMonthlyWage;
    private Double wastageRate;
    private String financingSituation;
    private String companyProfile;
    private String teamIntroduction;
    private String video;
    private String companyIntroduction;
    private String productPresentation;
    private String productCertification;
    private String trademarkCertificate;
    private String intellectualProperty;
    private String logo;
    @IgnoreColumn
    private Double regCap;
    @IgnoreColumn
    private Map<String, List<Integer>> scores;
    @IgnoreColumn
    private Integer floor;
    @IgnoreColumn
    private Integer roomNum;
    private String reportId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }

    public Integer getStaffSize() {
        return staffSize;
    }

    public void setStaffSize(Integer staffSize) {
        this.staffSize = staffSize;
    }

    public Integer getSocialSecuritySize() {
        return socialSecuritySize;
    }

    public void setSocialSecuritySize(Integer socialSecuritySize) {
        this.socialSecuritySize = socialSecuritySize;
    }

    public Double getTotalSocialSecurity() {
        return totalSocialSecurity;
    }

    public void setTotalSocialSecurity(Double totalSocialSecurity) {
        this.totalSocialSecurity = totalSocialSecurity;
    }

    public Integer getJuniorNum() {
        return juniorNum;
    }

    public void setJuniorNum(Integer juniorNum) {
        this.juniorNum = juniorNum;
    }

    public Integer getCollegeNum() {
        return collegeNum;
    }

    public void setCollegeNum(Integer collegeNum) {
        this.collegeNum = collegeNum;
    }

    public Integer getGraduateNum() {
        return graduateNum;
    }

    public void setGraduateNum(Integer graduateNum) {
        this.graduateNum = graduateNum;
    }

    public Integer getDoctorNum() {
        return doctorNum;
    }

    public void setDoctorNum(Integer doctorNum) {
        this.doctorNum = doctorNum;
    }

    public Integer getReturneesNum() {
        return returneesNum;
    }

    public void setReturneesNum(Integer returneesNum) {
        this.returneesNum = returneesNum;
    }

    public Integer getProfessorNum() {
        return professorNum;
    }

    public void setProfessorNum(Integer professorNum) {
        this.professorNum = professorNum;
    }

    public Double getTotalAssets() {
        return totalAssets;
    }

    public void setTotalAssets(Double totalAssets) {
        this.totalAssets = totalAssets;
    }

    public Double getMonthlyTurnover() {
        return monthlyTurnover;
    }

    public void setMonthlyTurnover(Double monthlyTurnover) {
        this.monthlyTurnover = monthlyTurnover;
    }

    public Double getTotalTax() {
        return totalTax;
    }

    public void setTotalTax(Double totalTax) {
        this.totalTax = totalTax;
    }

    public Double getTotalProfits() {
        return totalProfits;
    }

    public void setTotalProfits(Double totalProfits) {
        this.totalProfits = totalProfits;
    }

    public Double getDebt() {
        return debt;
    }

    public void setDebt(Double debt) {
        this.debt = debt;
    }

    public Double getAverageMonthlyWage() {
        return averageMonthlyWage;
    }

    public void setAverageMonthlyWage(Double averageMonthlyWage) {
        this.averageMonthlyWage = averageMonthlyWage;
    }

    public Double getWastageRate() {
        return wastageRate;
    }

    public void setWastageRate(Double wastageRate) {
        this.wastageRate = wastageRate;
    }

    public String getFinancingSituation() {
        return financingSituation;
    }

    public void setFinancingSituation(String financingSituation) {
        this.financingSituation = financingSituation;
    }

    public String getTeamIntroduction() {
        return teamIntroduction;
    }

    public void setTeamIntroduction(String teamIntroduction) {
        this.teamIntroduction = teamIntroduction;
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public String getCompanyIntroduction() {
        return companyIntroduction;
    }

    public void setCompanyIntroduction(String companyIntroduction) {
        this.companyIntroduction = companyIntroduction;
    }

    public String getProductPresentation() {
        return productPresentation;
    }

    public void setProductPresentation(String productPresentation) {
        this.productPresentation = productPresentation;
    }

    public String getProductCertification() {
        return productCertification;
    }

    public void setProductCertification(String productCertification) {
        this.productCertification = productCertification;
    }

    public String getTrademarkCertificate() {
        return trademarkCertificate;
    }

    public void setTrademarkCertificate(String trademarkCertificate) {
        this.trademarkCertificate = trademarkCertificate;
    }

    public String getIntellectualProperty() {
        return intellectualProperty;
    }

    public void setIntellectualProperty(String intellectualProperty) {
        this.intellectualProperty = intellectualProperty;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getCompanyProfile() {
        return companyProfile;
    }

    public void setCompanyProfile(String companyProfile) {
        this.companyProfile = companyProfile;
    }

    public Map<String, List<Integer>> getScores() {
        return scores;
    }

    public void setScores(Map<String, List<Integer>> scores) {
        this.scores = scores;
    }

    public Double getRegCap() {
        return regCap;
    }

    public void setRegCap(Double regCap) {
        this.regCap = regCap;
    }

    public Integer getFloor() {
        return floor;
    }

    public void setFloor(Integer floor) {
        this.floor = floor;
    }

    public Integer getRoomNum() {
        return roomNum;
    }

    public void setRoomNum(Integer roomNum) {
        this.roomNum = roomNum;
    }

    public String getReportId() {
        return reportId;
    }

    public void setReportId(String reportId) {
        this.reportId = reportId;
    }

    public static void main(String[] args) {

        Predicate<Integer> predicate1 = (integer) -> true;

        Predicate<Integer> predicate2 = (integer) -> false;

        Predicate<Integer> predicate3 = (integer) -> false;

        Function<String, Integer> function1 = (s) -> {
            System.out.println(s);
            return 1;
        };

        Function<Integer, String> function2 = (integer) -> {
            System.out.println(integer);
            return "OK";
        };

        System.out.println(predicate1.or(predicate2).and(predicate3).test(1));

        function1.andThen(function2).apply("110");

    }

    public static Integer getString(String s) {
        System.out.println(s);
        return 1;
    }

    public static String getInteger(Integer integer) {
        System.out.println(integer);
        return "OK";
    }

}
